﻿using System;
using System.Collections.Generic;
using System.Text;

using GDModel.Model.Entity;

namespace GDDAL.DALProviders
{
    public class DALManager
    {
        private IDALProvider m_dalprovider;

        public DALManager(IDALProvider dalprovider)
        {
            this.m_dalprovider = dalprovider;
        }

        #region Charactor
        public Character GetCharactor(int privateToken)
        {
            return this.m_dalprovider.GetCharactor(privateToken);
        }

        public void UpdateCharactor(Character charactor)
        {
            this.m_dalprovider.UpdateCharactor(charactor);
        }
        #endregion
    }
}
